from flask import Flask
from flask import url_for

app = Flask(__name__)

@app.route('/')
def index(): pass

@app.route('/user/<username>')
def profile(username): pass

with app.test_request_context():
	print url_for('index')
	print url_for('profile', username='fonny j')

if __name__ == '__main__':
	app.run(debug=True, host='0.0.0.0')
